<template>
	<view class="cont">
		<u-cell-group :border="false">
			<u-cell-item 
				title="真实姓名" 
				:value="user.name" 
				:arrow="false"></u-cell-item>
			<u-cell-item 
				title="手机号" 
				:value="user.mobile" 
				:arrow="false"></u-cell-item>
			<u-cell-item 
				:border-bottom="false" 
				title="销售品牌" 
				:value="user.brand"
				:arrow="false"></u-cell-item>
		</u-cell-group>
		<view class="u-p-24">
			<u-button 
				type="success" 
				class="u-m-t-10" 
				@click="openPage('/pages/center/informationEdit')">编辑</u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				isLogin: false,
				
				user: {
					name: 'Luck',
					mobile: 15211111111,
					brand: '锅炉'
				}
			}
		},
		onLoad() {
		},
		methods: {
			openPage(url) {
				// if (!this.isLogin) {
				// 	// 操作
				// 	return
				// }
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.cont {
	min-height: 100vh;
}
</style>
